hopefully fix bug with default sort direction