Fixed a small typo with resultObj

Closes #17