fix display problem when log in then return home and then go back to app;