fixes to gui