Fixed duplicated variable name