fixed extra nops when optimizations and expectations disabled