fix bug permission,
fix bugs