fix error when error is only one element long, would return true/false instead of array with elements