terminal should be maximize