fix record_needs