fix redundant decl warning that was breaking the build