fixed the nib bug