fix output to display any number of products