Print correct value
Fixes for coverity