fix issue with lack of sort field