fixed bugs in RMS view