fix remove directory