return err and remove persist
Merge pull request #1 from zhuzhe1983/err

return err and remove persist