Fix first and second fixes for dkirpa
Fix #8
Merge pull request #1 from Rastopyr/master

Fix first and second fixes for dkirpa