overwrite new pid correctly
Merge pull request #2 from kesla/overwrite-new-pid

overwrite new pid correctly