fixed ibase.c