work around g-ir crash