validations and category layout change