fixed a bug related to wrond error messages indicating uninitialized union members