small warnings fix