fixed bug: forgot SA_FLAG in sigaction which caused major debugging ;)