inelegant fixes for bash