fixed typo in GUI

prevented correct warning to be displayed