adaptation to new xssp-rest