fix setDimensions in turbo