improve parameters checking in case attaching to existing process