fix signin error of waiting page load