If you meant "perfecting", here are some relevant suggestions for the misspelling "prefecting". To correct it, you could use "perfecting", "rectifying", "improving", "enhancing" or "refining". Each of these words conveys the idea of making something better, more precise or flawless.