fix string terminator check, using single pid