partial fix to transform boxes,