fixed little mistake in the target calculation