GUI

AI fix. bug with duplicate fixed