Added better error message when view is not found