make sure not null and not empty string