fix front collapse