fix to gold test case