remove offline detec