fix macro error

next is a struct member and also a macro, causing compiling error