fix time_handler bug not returning interval