fix bug for stock pool is null