fix the login page failed image load