pretrial credit was incorrectly noted