fixed a copy&paste bug