Fixing some dumb errors