fix get api