Fixes #6 use correct reference for error_handlers