resolving same pid issue