added an error message to the control