testing for match failed error
testing for error js:172