Fixing username in query