with public flag, fix migration