don't warn unless in production