Fix selector to target document