fixed struct in util.h