fix a few strict declaration issues