fix front-end test