fixed Union to Ptr{Void}