fix savecert with no_skid, gcc warnings