replace %zu with %"PRIszu" macro to prevent compiler warnings