Revert "fix ilegal"

This reverts commit f15341f7f9a98597c8bfc80319e9710d83c29179.