some adding gui
fix some errors