fix warning when borderline