fixed error in multiply