fixed the index page decimal encoder