couple fixes for GUI