fix some more warnings