Fixed namespace check.
Fixed