eliminate extra dir