a DEVELOPMENT_MODE check was a little too greedy for invalid components.