fixed an issue with variable references that weren't renamed correctly.