check flag in refreshauto