fix bug in pop & gridview