removed if SSL checks that are not needed