Fix fail when there is no model
update input validation
Merge branch 'master' of github.com:WebTales/rubedo