workaround to eliminate usless hidden buffer