Minor fixes
Merge pull request #18 from pismenny/dp

Minor fixes