fix a couple more warnings