Fixed bugs, added delete SO and SO data