Fix buffer.parent attributes