hide custom rm function