updated error handlers

my bad!