fixing variable location typo