fix error on older bash