fixed mistake in linear SK