fix number replacement