correct syntax error in the views