Fix some dumb mistakes