instruction cleanup