remove references directory