fix small warnings