chwb: use macro EARGF to prevent null pointer possibility
ignw: either set or reset the overrid_redirect attribute