added validations
some UI change