workaround to eliminate empty hidden buffer