Fix errorHandler bug and bump version