fixing some nil
fix again
Merge branch 'master' of github.com:alexstoddard/reBook
fix trade error