[PATCH] deal with the first call of ->show() generating no output