fixed #42 . UI renders correctly