fix renaming variable