delete query old folder