uart improvements