added validations to morpho