cleaning up before running compilation