fix variable naming issue that was causing broken API signatures