reorganised and changed memoFix into refix