some bug fix on administrator plugin