make rm safer