fix parsing of pseudo selectors values