Minor fixes
Merge pull request #9 from pismenny/dp

Minor fixes