bugfix for hasReceived