commented out diagnostics for xcf handling