fix for saving patterns from trader stocks