the jws doesn't work properly