GUI error corrected