Fix cnf error for some bash versions