corrects the local check