fixed some extremely dumb errors