snapshot resize working