fill window almost working