fixed annoying ui bug