revert some changes of integrated gui