Removing accidental hardcoded https check