Fix/0.4 update haystack dependency