fixed bug: username was null