Guess that was due to the version of swipl I was running  -  updated from 7.1.16 to 7/28 64bit nightly