fix bash-ism