add error handler to see errors