fixed minor variable naming issue