rescale bug