reference correction