fix for username > uid provided by a very nice guy who doesnt want to be known :)