quickfix: use correct var in defined?