fix the bug of selecting webpage by date ineffective