fix the bug, don't upgrade haystack