fix hardcoded area params check, now use opts.area_param.  and test