home view error handling