error message was giving wrong instructions