Fix dir removal