removed ssl check