avoid gs if message with no data will show up before gui is ready