fix display issue of first loading data