moving to flat dir