fixed username query