Fixed inverted variable naming