bug fix: nil saved as username