fix some small frontend bug