move data out of router put into helpers, bs-select has bug