userHistory fix