variable naming bug