Fixed segmentation-fault for get