fix pid sync if the differ from the start