gui fixs
tri rewrite, better