safe check of window system