signal handling is correct