small changes for GUI