improve sql perf via joinedload