avoid error if no timeformat is specified