bugfix

fixed by Tobias W.
reported by Matthias H.