fix pmsi api problem with slashes