fixed username check