report fixes and plotting functions