Potential fix to gui