fix rescoring