Fixed error

Variable was incorrectly named