fix little bugs
prepare to test with the real chip LPC1768