small fixes :))
Merge pull request #1 from ingdir/master

small fixes (c)