cleaning up minor warnings