fixed a redeclaration of const