fixed copy-paste bug in rerate result code