fixed two small bugs in the fusion