Small bugs in the vulnerability applications

This pull request resolved to small bugs that were found in the damage to loss and capacity curve charts