Fixed operations api bug