fix bug with mode of 1st instruction