Fixed GUI error