fixed number issue in pdf and html