fix trivial compiler warning