fixed bug for matcher in chai expect