fixing sorting column