add missing format attributes