fixed bug in observablemodel