STPBase: fix warnings