remove uncessary dirs