fix for magento extension