minor warnings handled