Trying fo fix the layouts of windows