improve Compatibility in Bash
improve Compatibility in Bash