add internet check
merge commit
all offline messages working