Removed nested error messages in error element on parent model & lint fixes