fix rat warning