Attempt to fix error with GUI