Fixed layout bug
Corrected the protocols regarding DistributeRoute and fixed some layout