small updates for when calc_F.m fails