Fix possible warning on some misconfig