fixed by stripping quotes off the matched value instead