simplify previous render cleaning (to prevent double render)