Fixed some little bugs on IO Ports and DDR setting