fixed assignment ui bug