fix small frontend bug