fix #3191 (remove ui)