doctype for capturing was missing spaces