change core plugin to administrator and some bug fix