remove bad migrate and public index