fixed some errors that i found