Fix some minor mistakes in the swing part.