fixed a crash caused by the possible NULL init of a union var