little bugfixes

Hello,

is this the correct way to submit patches?

greets
Dirk