change valid sender check