bugfixes for username