Fixed variable name problem