Fix the fix function.