fixed some bug, improve popview display