minor warnings fix