tbh I'd rather have this behaviour, defer should've been lexically scoped from the beginning.