fix doubling