Fix the admin can't package bug and permission issue.