Fixed 'perform magic'