Fixed tiny bugs
Merge pull request #15 from GLoganDR/prim

Fixed tiny bugs