window not working