really fix the offline working mode error.