remove directories before moveis