Heritage at risk: investigation and vulnerabilities management for the safeguarding of an old fortified town