fix bugs/cleared on hub allocation