fix multibyte issue
consider submitted time condition
consider submitted time condition