formating of stocklist and portfolio fix