port enable and reset problem solved (tmp commit)