fix html error handling. Redirect to /404 or /500
release 0.1.2