fixed bugs of signin action.