Fix issues with not finding process id