Fix https sync