fixed minor bug in view
Merge pull request #19 from mdrewt/joe

fixed minor bug in view