fix prefix elimination bug
remove print