resolved portfolio_detail opening issue