Use debug instead of warn