Make safe some variables