solve overlapping display