fix phs is undefined issue in eb filter