cleaner logging. fixed a bug when reloading queue