fix some references