magior bugfixing