bugfix for set window start stuff