avoid spurious warnings
fix function namespace