remove BART from the end of the bus direction to save space - also trim the whitespace off the ouput