fixed the 'borderline' effect