Fix an issue where an error message is displayed twice.