fixing width and discard route db