Revert "commited for gui"

This reverts commit 78210d96c9aad7292914e2be1276fc57ba0e7f26.