fix annoying bug causing everything not to be received sometimes