use ZERO_STRUCT() instead of memset