add sender check for supporting old version