core/java: fix phonenumber add util code