fix variable-length struct bug