try to fix login page load bug