fix some dumb mistakes