Fix rescale flags