fixed bug: when an URL starts with 'https' also added 'http' prefix