fixed a minor bug with instruction