various errors and stuff
cleanup errors