fixed logging timestamp