Fixing an error setting the value o SIG variable.