fixed number formating bugs