Corrected Erros in GUI