added support to errorCallback