fixed some errors that were bugging me hah