fixed bug with adding instruction number