ctd impl. fixed coordinate bug