Remove unnecessary prefix in URI