Fix $.sync