sync courses debug