fixed curinstruction shifting