fixing sort properties and menu links