Trimming SC uri to fix #390