puborg: fix replace method and port

Signed-off-by: Micky Ching <mickyching@gmail.com>