fix to handle just one item