removing rmagic for production