remove the difference between predicted head and gold head