fixed duplicated variable 14