Fix to login dohble render error