buffer destroy delay hack