fixing bug 1103
Merge pull request #112 from einhverfr/pdf_bs_pnl

fixing bug 1103