enabled offline detection