remove old code in compiler