change %zu to PRIu32 for 64 bit compiles