#89: move error message to variable