minor bug fixes
rubocop fixes
Merge pull request #2 from inigo-llc/prototype-simple

Minor bug fixes