How to deal with unexpected Stocks PDF