csps-view error management addition to avoid segmentation fault on wrong input path