fixed gradebath bugs