fix ui parsing