Remap gd only for Haskell buffers