Fixed port_register bug

forward slashes are now escaped correctly