Updating error message to give a usefull information