fixed time conversion problem