fix resume ui bug