fixing syntax error in resourse