fix for 'installed undefined' error
Don't remove json/text errors handlers!