fixed syntax error in view