front-end fixes

Signed-off-by: owwlo <owwlo@163.com>