Fixed variable name issue