Issue #48 the int conversion was incorrect