fixed window size and file checks