fix some frontend