convert SPS and UI