validations for topics model