fixing selector parser