Precise indoor localization is a major challenge in the field of localization. In this work we investigate multiple error corrections for the ultra-wideband (UWB) technology, in particular the DecaWave DW1000 transceiver. Both the time-of-arrival (TOA) and the time-difference-of-arrival (TDOA) methods are considered. Various clock-drift correction methods for TOA from the literature are reviewed and compared experimentally. The best performing method is extended to TDOA, corrections for the signal power dependence and the hardware delay are added, and two additional enhancements suggested. These are compared to each other and to TOA in positioning experiments. Index Terms-time-of-arrival (TOA), time-difference-of-arrival (TDOA), two-way-ranging (TWR), DecaWave, ultra-wideband (UWB)