Fixed gui error