Fixed error when using -a option
Merge pull request #42 from carlacummins/master

Fixed error when using -a option