clear up redudant code, enable clear view