fix hierarchy css issue