fixing syntax error in resource