new code style
adapted an error message