fix chai configuration