minor fix

carried back the "minor fix" to development, done after merge from here