remove errorhandler library instead use our own errorhandler
fix typo