fix SIGUSR1 and SIGUSR2 by clearing the variables after