fix double declaration