fixing https issue