make duplication of param var decl error
refactor