small observer/model code fix