fix refractor