add rest model Issue