fix a bug in oa_area.c for 3 areas