Removing duplicated directory