fix bad reference