clean up prints and fix len problem
fix redeclear err
Merge pull request #13 from xiangli-cmu/master

Clean up prints and fix len problem