fix a bug in rx subsystem