fix a problem that happens when a 'friend' asks a resized file