add missing method _validate in magento 1.7