fix bug & prepare sorting pages