handle when the input is empty array