Fixed call variables for SHEL and PREG

line 1099 and 1114 changed.