modified clientreceiveworker validation