move magic so that it works again. from joerg jenderek