work around stupid mavericks ancient bash bug