fix layout problem in network view