small window fixes