remove bug with mSetupDone variable