fixed boolean during check ouf same scheme