bugfix

rc : resolve segmentation fault