bug in signup worker logic