fix time selection bug
Merge pull request #16 from sealhuang/fix-time-selection

fix time selection bug