added maximize on init