value api bug fixed