make it work when there's a dot in the attribute selector