Changed from util_scanf_int to util_sscanf_int, wrong method was called