time offset + api bug fix