Fix title for functions/loops with two spaces