ignore invalid code data received.