api fields fix