fix port path -> raw input