Remove duplicated directory core