slicing issue 19

dan workaround and
defined the parent buffer