fix stretch bug