remove dir from histore