fix lib warnings