fix bug in aparam configure