fixed window size and gridsizer error