get rid of pail sub dir