fix the case 'no rating and column sorted. Add comments and clear the logs