fixed view syntax error