fix username check