fix login bug (buc updated)