fix uart instantation problem