fix bugs in subWindow look but CSS doesn't work