fixed glitch in XPL so that the API works again