fix bug in signup