minor fix to exception message