Prevent Segmentation Fault, if model is loaded multiple times