Fix receiveLOr, receiveROr and move it