fix bug in the status model