Fix calls to encode_id in SS

Fix 00cd5d8e5da9879df860293c4b7b8f810f52fb52