history fragment 's perfectly working