fixed gui error