fix some signup bugs