Fixes bug with numer replace