fix a bunch of deprecation WARNINGs

sick of seeing these in my compile output all the time!