fix error double declaration