Fixed syntax errors in views