fixes

require reference errors