correct minor warnings