fixed find Bugs errors in GUI