Fixed url prefix changing from 'https' to 'http'