fix signup bugs.