fixes for stock