Windo onload fix