Fixed REPLACE_UDID bug.