Fix error caused by ISPN-2255

just a small fix from my PR for ISPN-2255. no jira