fix front pages bug