fixed login config bug