To fix browser bug and modify ui