revert version of rmagic