fix RM
fixing rm