minor refactor, webui only shows 1 decimal