refactor logistics dashboard