better values format handling