fix duplication of stock warnings