format provider on parsing and ui controls