Miscellaneous warning fixes

there were warnings for this?