errors in views