fix a few more warnings