check entity UID not empty string either.