small fixes

As requested a pull request for you.