conditionally load eager_record