get rid of uncessary dir