enhance cleaning directory after building (not 100% work now)