moved element and namespace out of options