- sometimes getModel returns nul and the ui errors - add a check for this - update tests Changelog: fixed