fixed the negative problem, and the regex