fixing sigaction types