Fix bug with signin type