fixed createBuffers on missing context