fixing and refining