debug smosimple, but it seems not works well