fixed numeric formatting bug