fix redeclaration