Fix the triple functions.