fix a mistake in so library