Stupid api bug