fix front camera index error