fixing rm call