buse wrapper to stop memory leaking