fix %d in printf to %ul