search sort bug fixed
pdf related changes