fixed uart demo