clean up ILLEGAL