fixed more bad references