fix configuration with eager_load set to false