filter the data before it is sent to EMP