buffer: fix constructor call
context: expose buffer global