fix mkfig_lat