mage small fix