port handler improvements