Fix choose make commnad logic.