cleaned up compiler pass