delete the Window-methods