Fixed crash related to new error message