fixed some dumb mistakes