fix SMS api issue