Fetch doctrine properly