fixes for minor warnings