bug fixing on product init - new id generation if nothing was set