fixed a bad issue while rollover the snapshots