fix xadvance uninitlize bug