also don't check for dev mode in template