Removing the duplicate directory