fixing SSL