correct the bug for find the different executable automatically