add styling for error field