replace double with single