Fixed a gui error