Fixed illegal op issue