fixed? login bug and rebuild bug