check if peerActions is defined
removed console.log
Merge pull request #1648 from cmgustavo/bug/01-history

Bug/01 history