change window size properly
bugfix: can't open file