solve ui bug when click finish button