Properly compare strings.

Properly compare strings.

Fix NPE.

Properly compare strings.

Properly compare strings.

Properly compare strings.

Properly compare strings.

Properly compare strings.

Properly compare strings.

Properly compare strings.