GUI has some bugs