fix a few more casts - refs #15