change to magento so that parser do not fail on function not found