repair critical frequence and add bootstrap