updated uart and debug a little