worked on safe fixed uart