Fixes bug with no username exception