corrected view syntax error