fixed failing time conversions