Fixed the crash due to nib inconsistency