fixed web UI

Corrected the following issues on the UI:

1. viewing the error list failed
2. viewing the details of an error failed