Queue file bug fix

- fixed bug where old data in Queue file was not erased