minimal fixup to also accept an array of 1 item