fix some issues
ptr
Merge pull request #3 from rmd6502/master

fix some issues