fixed signin bug