adding debug to utils.rkt
fix eof / string-index confusion