context needs to be cleaned up after a compile