fixed bug in pledging the same number of shares