Replaced a stupid error message with a better one