fix to heroku

fix to heroku
fix Bug, each-line is nil:nillclass