Fix bug for windows with no names