add check for error style in ReceivingData