fixing minor warnings