fixed handling of macroareas