avoid double allocation for anonymous selector, remove useless tags field