removed sortby error