fix maximize issue in ubuntun