changed ssl checker if offline case