Fixed race condition when checkinguser settings