clean up small errors