remove these codes. The code could not work correctly under x11. Redesigning