build - delete dirpath only