minor instruction and other fixes