fix deleting null instruction