better bash compatability