if current and current<>oldValue then
fixResult:=realTemp;
end if
oldValue:=current