fix undefined logs
Merge pull request #60 from spacepluk/fix-undefined-logs

fix undefined logs