add switchpreference bug, big numberfactorial