update make_cross_product() function and correct the input for emit()