use tornado.options for flags
work time fix