remove pid from debug-output: didn't work as it should have