fixed smoe bugs