fixed bug about window not popping up on fedora.