fix a few of the most spammy warnings (there are still hundreds of warnings though)

TODO: actually fix all the warnings