fix ref error in fixer