fix front-end GUI