fix display bugs after save data