validation for themeset and brick