fixed basic blockFinding