refresh a variable in order to remove a possible segmentation fault