update styling and fix bug with number parsing