fix dir/* polution to dir